$(function () {
    var seleteDoctorValue = $('#userName').val();
    if (seleteDoctorValue != "") {
        $("#doctors option[value='" + seleteDoctorValue + "']").attr("selected", "selected");
    }
    var seleteStoreValue = $('#storeValue').val();
    if (seleteStoreValue != "") {
        $("#storeNew option[value='" + seleteStoreValue + "']").attr("selected", "selected");
    }
});